﻿CREATE TABLE [dbo].[RegistrosClientes] (
    [IdRegistro] INT NOT NULL,
    [IdCliente]  INT NOT NULL,
    CONSTRAINT [PK_RegistrosClientes] PRIMARY KEY CLUSTERED ([IdRegistro] ASC),
    CONSTRAINT [FK_RegistrosClientes_Clientes] FOREIGN KEY ([IdCliente]) REFERENCES [dbo].[Clientes] ([IdCliente]),
    CONSTRAINT [FK_RegistrosClientes_Registros] FOREIGN KEY ([IdRegistro]) REFERENCES [dbo].[Registros] ([IdRegistro])
);

